<template>
	<view>
		<u-navbar title="余额明细" :autoBack="true" :safeAreaInsetTop="true" :placeholder="true" bgColor="rgba(0, 0, 0, 0)"></u-navbar>
		<view class="navbar-bg"></view>
		<view class="card u-p-l-20 u-p-t-44">
			<view class="img-box">
				<u-image :showLoading="true" mode="aspectFill" radius="8rpx" src="@/static/personal/logo.png"
					width="240rpx" height="44rpx">
					<view slot="loading">
						<u-loading-icon></u-loading-icon>
					</view>
				</u-image>
			</view>
			<view class="flex align-center u-m-t-78">
				<view class="u-m-r-32 u-font-24" style="color: #00786C;">账户余额</view>
			</view>
			<view class="u-m-t-28 flex align-center justify-between u-m-r-32">
				<view>
					<text class="u-font-32" style="color: #00786C;">￥</text>
					<text class="text-bold" style="color: #00786C;font-size: 48rpx;">1050.00</text>
				</view>
			</view>
		</view>

		<view class="u-m-32">
			<view class="flex align-center justify-between u-p-b-32">
				<view class="flex align-center">
					<view class="u-m-r-10 u-font-32 text-bold text-black">2023年4月</view>
					<u-icon name="arrow-down" size="14"></u-icon>
				</view>
				<view class="flex align-center u-font-24" style="color: #1E1A33;">
					<view class="u-m-r-40">收入(￥5233.23)</view>
					<view>支出(￥3233.23)</view>
				</view>
			</view>

			<view v-for="(item,k) in 5" :key="k" class="flex align-center justify-between bg-white cell">
				<view class="flex align-center">
					<u-icon name="/static/personal/in.png" size="72rpx"></u-icon>
					<view class="u-m-l-40">
						<view class="u-font-lgm text-bold" style="color: #282828;">消费支出</view>
						<view class="u-m-t-10 u-font-xs" style="color: #999999;">2023.04.03 12:56:23</view>
					</view>
				</view>
				<view class="balance">-150.00</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	page {
		background: #F8F9FD;
	}
</style>
<style lang="scss">
	.navbar-bg {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: -1;
		width: 750rpx;
		height: 256rpx;
		background: linear-gradient(90deg, #C8CDFF 0%, #CBFFFA 54%, #FF5B00 100%);
		filter: blur(50rpx);
	}

	.card {
		margin-left: 32rpx;
		margin-right: 32rpx;
		width: 686rpx;
		height: 324rpx;
		background: linear-gradient(90deg, #B3F2EB 0%, #FF5B00 100%);
		border-radius: 48rpx 48rpx 0px 0px;
		opacity: 1;
		border: 2rpx solid rgba(255, 255, 255, 0.7);

		.img-box {
			width: 240rpx;
			height: 44rpx;
		}

		.btn-plain {
			width: 136rpx;
			height: 54rpx;
			line-height: 54rpx;
			text-align: center;
			border-radius: 32rpx;
			border: 2rpx solid #FF5B00;
			color: #00786C;
			font-size: 24rpx;
			margin-right: 32rpx;
		}

		.btn-fill {
			width: 136rpx;
			height: 54rpx;
			line-height: 54rpx;
			background: #FFFFFF;
			border-radius: 32rpx;
			color: #00786C;
			text-align: center;
		}
	}
	
	.cell {
			padding: 42rpx 32rpx;
			background: #FFFFFF;
			border-radius: 16rpx;
			margin-bottom: 20rpx;
	
			.balance {
				font-size: 32rpx;
				font-family: Alibaba PuHuiTi 2.0-85 Bold, Alibaba PuHuiTi 20;
				font-weight: normal;
				color: #FF5B00;
				font-weight: 800;
			}
		}
</style>